/**
 * Created by Administrator on 2017/12/26.
 */
angular.module('module.order')
    .controller('ChangetableController', ChangetableController);
ChangetableController.$inject = ['$scope'];
function ChangetableController($scope) {
    var vm = this;
    console.log(22222);

    vm.remove = remove;
    vm.sure = sure;
    function remove(){
        $("#sure").removeClass("button-active");
        $("#back").addClass("button-active");
    }
    function sure(){
        $("#back").removeClass("button-active");
        $("#sure").addClass("button-active");
        vm.show = true;
        setTimeout(function(){
            $scope.$apply(function(){
                vm.show = false;
            });
        },3000);
    }
}